Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sync #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add sync #18

wants to merge 2 commits into from

Conversation

gilgamezh
Copy link
Contributor

This is the example I showed the last day. also some small fix

@gilgamezh gilgamezh mentioned this pull request Apr 2, 2024
@@ -39,6 +40,10 @@ def cli() -> argparse.Namespace:
)
categorize_parser.set_defaults(func=categorize)

# Subparser for the sync command
categorize_parser = subparsers.add_parser("sync", help="Report transactions")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call the command "sink" with help: "send or store the results to the chosen sink" or something like that

@@ -138,13 +143,25 @@ def categorize(engine):
print("Session interrupted. Closing.")


def sync(args, engine):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also find "sync" a bit confusing for this functionality. I would go for something more in the direction of "print-summary".
So that can later be the 1st step in exporting to a sink or a making a true synchronization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants